function bindKeyCloseWin() {
	$('body').keydown(function(event) {
		var keycode = event.which;
		if(keycode == 27) {
			window.close();
		}
	});
}

function test() {
	alert("test");
}